package com.yjc.drygoods.member.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yjc
 * @create 2022-09-17 8:25
 */
@ConfigurationProperties(prefix = "drygoods.thread")
@Component
@Data
public class ThreadPoolConfigProperties {

    private Integer coreSize;//核心线程数(常驻)
    private Integer maxSize;//最大线程数
    private Integer keepAliveTime;//超过核心线程数的线程所存活的最大时间，超过时间被回收
}
